<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    tr.bg {
      background-color: #E9FAFF;
      color: #4F86BC;
    }

    tr.bg1 {
      background-color: #CCCCCC;
    }

    table {
      border-collapse: collapse;
      width: 30%;
      height: 50%
    }
  </style>
</head>

<body>
<table border="1">
  <tr class="bg1">
    <th colspan="7">课程表</th>
  </tr>
  <tr class="bg">
    <th>时间\日期</th>
    <th>1</th>
    <th>2</th>
    <th>3</th>
    <th>4</th>
    <th>5</th>
  </tr>
  <tr class="bg">
    <th rowspan="2">上午</th>
    <th>语文</th>
    <th>数学</th>
    <th>英语</th>
    <th>美术</th>
    <th>音乐</th>
  </tr>
  <tr class="bg">
    <th>语文</th>
    <th>数学</th>
    <th>英语</th>
    <th>美术</th>
    <th>音乐</th>
  </tr>
  <tr>
    <th colspan="7"></th>
  </tr>
  <tr class="bg">
    <th rowspan="2">下午</th>
    <th>语文</th>
    <th>数学</th>
    <th>英语</th>
    <th>美术</th>
    <th>音乐</th>
  </tr>
  <tr class="bg">
    <th>语文</th>
    <th>数学</th>
    <th>英语</th>
    <th>美术</th>
    <th>音乐</th>
  </tr>
</table>
</body>

</html>
